from django import forms


class CampusAdminForm(forms.ModelForm):
    desc = forms.CharField(widget=forms.Textarea, label='校区简介', required=True)


class CollegeAdminForm(forms.ModelForm):
    desc = forms.CharField(widget=forms.Textarea, label='院系简介', required=True)


class DepartmentAdminForm(forms.ModelForm):
    desc = forms.CharField(widget=forms.Textarea, label='部门简介', required=True)


class AssociationAdminForm(forms.ModelForm):
    desc = forms.CharField(widget=forms.Textarea, label='社团简介', required=True)


class DepartmentPostAdminForm(forms.ModelForm):
    desc = forms.CharField(widget=forms.Textarea, label='文章摘要', required=False)


class AssociationPostAdminForm(forms.ModelForm):
    desc = forms.CharField(widget=forms.Textarea, label='文章摘要', required=False)
